package com.em.mapper;

import com.em.entity.User;
import com.em.vo.UserVO;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author exclusive
 * @version 1.0
 */
@Mapper
public interface UserMapper {

    void addUser(@Param("user") User user);

    int findByName(@Param("name") String name);

    Page<UserVO> getUserList();

}
